package com.sxpi.message;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: 董伟豪
 * @Date: 2022/10/28 15:43
 */
@SpringBootApplication
// 开启服务注册
@EnableDiscoveryClient
// 整合产品服务的持久层
@MapperScan("com.sxpi.message.mapper")
public class MessageServiceWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(MessageServiceWebApplication.class,args);
    }
}
